import 'package:bloc/bloc.dart';

import 'cook_menu_event.dart';
import 'cook_menu_state.dart';

class CookMenuBloc extends Bloc<CookMenuEvent, CookMenuState> {
  CookMenuBloc() : super(CookMenuState().init()) {
    on<InitEvent>(_init);
  }

  void _init(InitEvent event, Emitter<CookMenuState> emit) async {
    emit(state.clone());
  }
}
